Update CHGP.java

There... Nice, stable and idiot proofed.