First go at trie.. Which is to be extended with a merkletree-like mechanism later. (when it works)
The mechanism for setting doesnt work yet.(it is not yet expected to work)