Update merge_groups.cpp

Added function wesley_merge
Not working yet