two sum leetcode solution python hashmap