update to coloring alg

update to coloring alg