hacker rank challenges in haskell