Chaging Merge() to use iterators.
Making levelA and levelB iterator ranges.