CompareAll function

Distances between each pair of trees