Two sum leetcode solution python example