Various little haskell programs