NodeNumbers function

Numeric index of each node in a tree NodeNumbers() returns a sequence corresponding to the nodes in a tree