Added two_way_merge. Memory problems likely.