Binary Search Problem Leetcode Python Compiler