Leetcode Solution Two Sum Problem In Python