Implement Shortest Path Leetcode Python Easy Projects