adding help for CG methods to java demo console