Solutions to exercises in Yet Another Haskell Tutorial