Hackerrank: Insertion sort-2 - https://www.hackerrank.com/challenges/insertionsort2