Haskell tasks, semester 7