Binary Search Code In Python