Pātuhitia tēnei: Difference equations with applications to queues