Adding merge sort for linked lists and minimum unsorted subarray