fixed bugs in produceJava.ml so will compile

new error compiling graphQuil.ml