completed runningTime of insertionSort