Python for proj10, newly learned way to get primes