problem 10: Summation of primes