Added support to trees of trees and better printing of the structures.