implementation of insertion sort algorithm and its computational cost. it is testing on arrays of lenghts differents