Update Grid.java