here is the first version of the code 

the functions might not be exactly correct but this is basically what i think we wanted the robot to do
also we need to find the values of light the borders will be 
plus this version of code needs three sensors and three motors
SENSORS   Two light sensors on each side of the front of the robot
          and a touch sensor
MOTORS   two steering motors 
        a fighting arm motor