Renamed "trie" to "tree"; added test runner; still have some bugs to fix