Fix finding repeated word bug

Finding 'aalsaals' returned true if 'aals' is in trie.
Merge pull request #7 from joybro/master

Fix finding repeated word bug