Sieve in C