Implements a primeNumberListGenerator