Lecture 08 exercises