simple insertion sort algorithm to sort numbers written in c.