Project info for Hack-Together

This is my first real robotics project...
My plans for this Project is to drive the motors of an old
R/C car of mine using an H-Bridge (Still in design phase). I
will also mount the ultrasonic range finder on the front and
use it to make autonomous intelligent decisions. For instance:
Robot sees object too close
Robot rotates left 10 degrees
Measures Distance
Robot rotates right 20 degrees
Measures distance
Compares distance left with distance right
Rotates 10 degrees left (To center robot)
Rotates 45 degrees in the direction with higher measurement
Repeats when robot gets too close to objects....
This is my rudimentary plan for AI...
Comments? Questions? Email me! Briansaccount@gmail.com
Thanks for reading!