adding sieve for prime number generation