Finds and caches all primes in range