Added Haskell solution for problem 77