Small parity code example