faz reverse
changes in gray.py and including gray.c that is working