extended function ..add_vertex by argument header_seq, modified function ...graph_new_from_file