Revert "gray code"

This reverts commit 6467d80e6b929f40f946a1b2dfe61ea138bf76b0.
p49 gray code