Started a listPrimes method.