Pātuhitia tēnei: Error-Correction Coding and Decoding