adding sum of primes in python