Python Script To Perform Binary Search