sieve of Erotosthenes in python