This problem is a bit different than the previous ones, in this problem you are asked to write a Java class named Robot with the following specs.
The main method is hidden from you, you only have to write the code for the Robot class in Robot.java file below.
The code checker will check your implementation against the specs provided above.
There will be no input and output for this problem.
Test your solution here
when it passes, copy it and submit it here so your coach can grade it.