Minimum Path Sum Leetcode Solution Github Python Exercises W3schools