Update gray.c