Pātuhitia tēnei: Introduction to the theory of computation