Files in this project

Main.java

The solution is part in the client, see the above program, and part in the tree class, see iterate method in the tree components.