add haming code decode