Refactored the calculation of your current list of primes