MazeCell class