Added a version of k-way merge using maps in stead of heaps. Seems to be a three times faster, but is not scalable in terms of memory.