graph coloring code complete. observed some potential issues that I need
to look at.