Update TestGrid.java

fixed minors errors