Mars Rover problem, solution developed in Ruby, using unit tests