comments added 
iterator for primes added