Trie weekend mini-lab

Trie'd my best. Got main functions to work.