Adding caching to TrieSearch.
Merge branch 'master' of github.com:joshjung/trie-search