Update merge_groups.cpp

Modified wesley_merge
Might not work yet
Will test later
Possibly not understanding the way merging happens in Merge_two_groups