Add a method to get a tree size
Add foreachNode for graphs; necessary for MST algorithms
Remove trees; `List<E>` used instead
Add foreachEdge method
Add required operation class for foreachNode, foreachEdge
Create generic MST algorithm
Add proper generic wildcards for foreachNode and foreachEdge
Add a WeightedEdge type