Adding isSolution() to MazeState