Having settled the huffman encoding/decoding and channel modeling(thanks to the previous part on bitwise operation), the last part would be hamming encoding/decoding.

Did some research as usual on hamming codes and how they work(well sort of) I got a general idea how to start constucting a (7,4) hamming code.

Unfortunately I have no idea how to start on the decoding/error correcting part and some direction would be nice.

---

for encoding I figured out I woul have to take the first 4 bits and add 3 more behind as the parity check bit.

but for decoding/error correcting, I would have to construct sort of a list of possible codes and pick the one with the least "distance"?