Catching up to the C++ version again

Replaced the for (merge_index) loops and modified the first half of WikiMerge to use pointer math rather than integer math.