Solved insertion sort list problem