Completed all but listPrimes