Implemented the Merge overloads

Hi, this PR implemented the overloads of `merge` in #62. Please take a look.