completed/tested insertion sort.