Working with tree sequences 
The next several sections provide examples based on a tree sequence with two trees.
The first tree is:
0
+++
| | 1
| | +++
2 3 4 5
The second tree is:
0
+-+-+
1 |
+-+-+ |
2 4 5 3