Insertion Sort Problems Leetcode Python