Added print_graph()