TreeNumber function

Unique integer indices for bifurcating tree topologies