Solutions to exercism.io problems in Haskell