Solved PDST.
Simplified the logic in TREE.hs
Solved TRIE.hs, and added a copy to the base directory as an example of how to implement a trie.