realized tree visualizer
working version
2nd attempt