Update PrimeGenerator.java