Starting to solve 99 haskell problems - Problem 1