Hashing algorithm

Team Member : 
1) Mayank Bhola

2) Varun malhotra 
(submitting as separate pull request)