Completed tree structure, added visualizer