add a Haskell solution
Merge pull request #9 from masak/master

add a Haskell solution