Update mergeTwoSortedLists