Initialized a grid