Python Binary Search Code Example