MarsRover Challenge in Java