How To Perform Binary Search In Python