insertion sort list solution