Added two Haskell solutions.