problem 7. upgrade performance of prime.py