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