Single Source Shortest Path Leetcode Python Challenges