Time Complexity Of Insertion Sort Algorithm Python