Added solution for problem 10: Summation of primes