Add function to print colored loops in .vtk files