Maze-Solving Algorithm Simulations in Python