Pātuhitia tēnei: Optimization of stochastic systems: topics in discrete time systems