Improve performance of Haskell's prime methods.
Solve problem 10 using Haskell.