python script that will generate the first 1,000 prime numbers