C implementation of the Sieve of Eratosthenes