Added solution to problem 10: Summation of primes