My attempt towards Haskell's 99 problems