Analysis of MergeSort