insertion sort sample code
first complete