Practice problem for Ruby - Mars Rover