Fixed code to handle cases that would break the trie
Added J.P. Durham as an author
Added two cases to test suite
A minor code styling fix
Merge pull request #1 from jpdurham/master

Fixed code to handle some cases that would break the trie