A Python simulation that visualizes the A* algorithm