Insertion Sort Algorithm Time Complexity