Update Grid.java

test 3