Refactored the calculation of your current list of primes, eliminated some duplication, made it more readable