Started converting mesh-coloring script to output grid file.