Added TableNode::getHash() to code sample

The code sample for iterating through a TableNode hash was missing the part where the hash is extracted from the TableNode object.