gray_counter now outputs zero padded binary.