Implemented nodes to the tree