Code presented in my lectures on ColabTeaching