Solution for https://oj.leetcode.com/problems/insertion-sort-list/