Coloring algo implemented