insertion sort2 - pending modification for submission