Two Sum Problem Leetcode Python Questions