started filling out robot class and added waitForPacket command