Insertion sort corrections (negative array index) and running time