Use picklePrimes for problem 3