Binary Search Python Script Implementation