Prime check and sum of primes less than 2 million