Several implementations of a prime sieve (Sieve of Eratosthenes)