• Function to create a 2D grid