EncogProgramContext context = new EncogProgramContext();
context.defineVariable("x");
StandardExtensions.createAll(context);
PrgGrowGenerator rnd = new PrgGrowGenerator(context,2);
EncogProgram prg = rnd.generate(new Random());
RenderCommonExpression render = new RenderCommonExpression();
String str = render.render(prg);
System.out.println(str);
}