Added .gitignore
Added Haskell version
Rewrote haskell code