code: def extended(self, new_leaves: List[bytes]):
          
          new_tree = self.__copy__()
          new_tree.extend(new_leaves)
          return new_tree
docs: Returns a new tree equal to this tree extended with new_leaves.