Changed the merge sort program