Test weight function for weighted rooted trees
Fix `predecessors` to return empty collection for the root
Amend `in-edges` for rooted trees to return collection of edges
Implement `transpose` for rooted trees
Test the Digraph functions for rooted trees