Makes the Haskell code compilable, and capitalizes their filenames

I wasn't able to compile the Haskell modules or load them into GHCI because the filenames were lowercase, there were a few little syntax errors, and a few modules lacked module declarations, so I made changes to fix that.
Merge pull request #4 from Lambdanaut/master

Makes the Haskell code compile-able