Shorter diff functions

shorter and more simple
Merge pull request #39 from semalead/diff-functions

Shorter diff functions