Create kway_merge_sort