add exercise 8
add ex9 and ex10