Figure 3: General layout of Hamming code.