primeiter: New functions for iterating over small primes.