IterativeMergeSort implemented