refactor insertion sort
add insertion sort