Set Sum Problem Leetcode Python