Exercise for Lecture8 completed.