Create grid.java