Insertion Algorithm In Binary Search Python