Added class RobotHandler() to handle the movement of the robot on the board.