Problem #10: Summation of primes (optimization)

"Sieve of Eratosthenes" is implemented with the only optimization

  * if above ( sqrt n ) then consider the rest of the list as primes