Problem 10, and refactoring to move Primes into a module with a prime sieve.  Still can't figure out how to use the sieve efficiently for problem 7.