def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def dfs_print(root):
        if root is None:
            return
        dfs_print(root.left)
        print(str(root.key) + ' ', end='')
        dfs_print(root.right)