Adding insertion sort, merge sort and array inversion counter