merge k sorted list