Implement Shortest Path Leetcode Python Basic Programs For Beginners