Print primes using the sieve of erasthotenes algorithm