Pātuhitia tēnei: The elements of probability theory and some of its applications