working on merge.cpp
working on merge.cpp