Merge k sorted lists - refactoring

Remove spaces