add_nodes_from_table function

Add nodes and attributes to graph from a table