Insertion Algorithm In Binary Search Python Script