add function to Tree in disconnectivity_graph

I think this should have bee pushed a few days ago
Merge branch 'master' of github.com:pele-python/pele