Added Haskell solution to problem 9