Got rid of extra linebreak in print_graph