Wrote showPrimes()