Update edge generators to not use lambdas

Beautiful as they are, they aren't yet supported by Eclipse
Reorganization, basic tree implementation for algorithms
Allow TreeNode to store a value