HACKERRANK: Insertion Sort Advanced Analysis

https://www.hackerrank.com/challenges/insertion-sort