This version contains the structures array of arrays and the array2D for the grid