add code from nerdherd to Robot.java to verify that it works alone