coloring of vertices -> still some errors; needs to be corrected