Added Merge sort for sorting