Generator: Recursive Backtracker (Depth-First Search)
Solver: BFS (Breadth-First Search) for shortest path