solution for Insertion Sort List

Modify the code to pass the test of cases such as 1-> NULL or 1->1->NULL
The code has passed the test cases in leetcode