Add test for solving dependencies with a starting point.
Add prune(graph, node) to remove non-reachable dependencies.
Realize that the test was funny.