module hamming3(a, b, distance);
   input [2:0] a, b;
   output [1:0] distance;
