Fixed a bug in GrayCode's operator=.