I\O and basic functionality of Trie added