Modified code
Restored original example Robot class code