update MergeSort class methods