Shortest Path In Undirected Graph Leetcode