A brief introduction to Hamming code