Implement insertion_sort()