Improved simple_2D_merge to use iterators and less arguments. Also
much more efficient.