Some functions to learn about haskell programming