add_edge_length function

Assign and compute edge lengths from a sample of trees