Lecture9
Add lecture10 code