how to build a generic tree code example Example: how to build a generic tree this is the way of the building of generic tree