How Can I Visualize Solving Mazes with a Pathfinding Algorithm?