Find the shortest path from source to either every other node or a specific destination node.
https://chatgpt.com/share/6861478a-b284-8001-b700-0873103f810f