Finished MergeSort and HeapSort (Luan)