Distinct function added

Basic Distinct function added, this is just a working prototype which should be fixed ASAP.
Added Distinct Func
Merge pull request #50 from tusharvikky/master

Distinct Added