Create distri-difference-generic.R

Some clarifications might be need for step 1 and 2.