Binary Search Problem Leetcode Two Sum Python Solution