Enhances the solution for insertion Sort - Part 1