add a generator version of the sieve of eratosthenes