Added prime_iterator class.