solved problem 7 by downloading 1.4 trillion primes and parsing the file
1.4 trillion prime file omitted because uploading that would be silly