Added haskell implementation
Merge pull request #3 from ant1441/master

Added haskell implementation