Solution to sum of primes upto a number