Maximum Sum Path Leetcode Python Beginner Quiz