Added graph visualizer for help with debugging.