Implemented run formation phase an k-way merge. TODO: k-way in muliple stages.