adding merge sort