Creates the grid for hw2