adding while loop for turn right and turn left in lineFollower