Add the lookup of transponder Gray code

Add tests, too.

Note that this looks up a straight D-A-B-C bit string, and the ES
transmits bits all mixed up.