Added a bunch of useful Haskell snippets