Add prime number generator that uses a sieve.