added a two coloring method
added a two coloring method