Improved MazeToString