Binary Search Problem Leetcode Two Sum Python