basic coloring of the graph