Implemented moving function for robot.