Print Shortest Path Dijkstras Algorithm Leetcode