Ruby solution to PuzzleNode.com Challenge #2: Cheap Tourist, Fast Tourist