split out insertion sort algorithm to it's own file