Exercise 2.9 done
Exercise 2.10 done