created robot class and some simple hit point functionality