A custom class called "Cell" is used throughout the maze generation process to store key information for each grid position of the maze. This includes:
The cell's ID value,
The X and Z position of the cell,
The number of active walls the cell should have,
A list of the cell's wall gameobjects,
A flag for if the cell has been visited or not,
A NullCell flag.