Min Path Sum Leetcode Python Interview