prime iterator