Decoding Error Correction Through Information Theory and