mergeTwoLists