MergeSort implementation with Java