Solutions to tasks from http://shuklan.com/haskell/index.html