first commit of prefix tree
refactors for checking the word on the fly
finishes refactor
makes it more readable
Merge branch 'master' of https://github.com/drshriveer/prefix-tree
adds the readme file from master branch
refactors some more~!