Merge sort and tests added