New example demonstrating how to create trees with branches of user-defined types