added exercises for lecture 18