Lecture7 exercises completed.