Added code from problem #7
Merge branch 'primes.py-COMPLETE' into factors.py-COMPLETE