Added rich comparisons and __iter__ to _Trie

Closes issue #16.