coloring of new nodes in graph