Code I put together for a lecture, introducing students to some core programming concepts and their application.