code: def populate(self, node_generator):
          
          for data in node_generator:
              hashed = hash_byte_array(data)
              self.tree.add_leaf(hashed)
docs: Populate Merkle Tree with data from node_generator. This requires that node_generator yield byte[] elements.
          Hashes, computes hex digest, and adds it to the Merkle Tree
          :param node_generator:
          :return: