reading information from sd card

So, now you need to create several test sketches. In one, call turnRight(). Make sure the car does what it is supposed to. If it does, change the call to turnLeft(). Again, make sure the car does what it is supposed to. Then, call forward(), haltMotors(), etc. and verify each function independently.

I did this already I put something like

if(minimum<20 && position ==1)
           turnRight();
         else
            haltMotors();

and the car would just keep turning right without stopping. and that happened for all conditions that I tested.