A maze solver using the A* algorithm