created a robot class