generalized doDiff (V1) working

lots of stats given
Merge pull request #5 from yoid2000/generalizedWindows

generalized doDiff (V1) working