[Haskell-beginners] Figuring out errors