Merge k sorted lists