implementation of functions.
Merge branch 'master' of https://github.com/pritish5699/DataStructure.git