Demonstration of how hamming code works