Give An Algorithm To Perform Binary Search In Python