added map function to trie, reimplemented print as a wrapper around map
updated readme
fixed sorting function
trie now self-sorts
getting up-to-date