Program to find solution to Project Euler, problem 10. Find the sum of all primes under 2 million.