Finished trie allocator code and added some basic trie code