Added Haskell solution to problem 38