program to run the robot