How to trace the path in a Breadth-First Search? How to trace the path in a Breadth-First Search? python python