print whole tree