Assigning the values for each vertex of the undirected graph
vector < int > values ; values . push_back ( 0 ) ; values . push_back ( 1 ) ; values . push_back ( 1 ) ; values . push_back ( 1 ) ; values . push_back ( 0 ) ; values . push_back ( 1 ) ; values . push_back ( 1 ) ;