two sum ii leetcode solution python