Update PrimeGenerator.cs