Update mergeKSortedLists