solve algorithmic_tutorials: insertionsort and running time of algorithms