created robot class