Update GrayCode.java

Error L 14, base is not declared.