Puts primes under 1,000,000 into a text file