projecteuler.net problem 10, in C, using Robert Sedgwick algorithms in C - sieve of eratosthenes, 1990