creating the grid