Added customisable dmerge.
Optimized version of dmerge
Merge pull request #1 from morgan-del/master

A customisable dmerge