Path Sum Leetcode Python Beginner Exercises