My attempt to solving the 99 problems in Haskell problem set (https://wiki.haskell.org/99_questions/)