Coloring of nodes