distinct_edges function

Finds distinct edges in one tree compared to another