maxHeight
Gets the maximum height of all branches beneath a #GNode. This is the maximum distance from the #GNode to all leaf nodes.
If @root is null, 0 is returned. If @root has no children, 1 is returned. If @root has children, 2 is returned. And so on.
Return
the maximum height of the tree beneath @root