Implementing Binary Search In Python Code