Little clarification on the implementation of the sieve of Erastosthenes