Treats a string as a tree.
Initialise the class with a optional list of strings.
Add a string.
Returns the index of the end of s that match a complete word in the tree. i.e. [i:return_value] is in the dictionary. Note IndexError and KeyError are trapped here.
Returns all values.