Haskell solution to Project Euler problems.