Added dif function
Merge pull request #2 from diogonal/test

Added dif function