add_star function

Add a star of nodes to the graph