Finished listPrimes