My solution for project euler problems in Haskell