Added tournament selection
Minor cleanup
Added overload to tree.generator.register to allow string function definition