I am trying to traverse and print the following tree:
My intended result is:
State2 State2/State3 State2/State3/State4
Below is th