4th batch of Haskell programs.