[Haskell-beginners] recursion and pattern matching