NEW: implemented Maze#solve and Maze#trace