thoughtworks mars-rover problem - http://arunrocks.com/mars-rover-in-python-and-haskell/