Target Sum Problem Leetcode Python Beginner Exercises