Re-implemented sieve of erotosthenes