sieve of erastosthenes - cpp