We refactored the generator so that it will continue to yield primes
without limit. We also added the function nth_prime(nth) which calls
genPrimes() as a helper function when calculating the nth prime.

Our result for nth_prime(10001) is correct.
edited docstring