solution to Insertion Sort List