P81: Added Haskell solution.