Merge sort with recursion added