Using Project Euler to practice Haskell and math