Binary Search Algorithm In Python