added sum_of_primes, passes but very slow