Leetcode Two Sum Python Solution