def populate(self, node_generator):
for data in node_generator:<EOL><INDENT>hashed = hash_byte_array(data)<EOL>self.tree.add_leaf(hashed)<EOL><DEDENT>
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: