Possible improvements added to insertion sort.