I was reading this article: https://www.askpython.com/python/examples/trie-data-structure and it uses a class definition like this:
class Trie(object): def __ini