Example of creating primes and saving to disk