Factorial and Fibonacci functions in Haskell