solution to Merge k Sorted Lists