Add __slots__ to Node and Digit for performance and space-saving reasons
Note why I'm not bothering adding __slots__ to Tree or its subclasses