class Node:
    def __init__(self, letter):
        self.childleft = None
        self.childright = None
        self.Nodedata = letter


# create the nodes for the tree
root = Node('A')
root.childleft = Node('B')
root.childright = Node('C')
root.childleft.childleft = Node('D')
root.childleft.childright = Node('E')