added 6-particle coloring code