Project for class with tree traversal