Leetcode Two Sum Problem Python Programming