another solution for mergeKSortedLists