Insertion Sort Problem Leetcode