Exercise 3.29 done
Exercise 4.1 done