symplify insertion sort code