Complete exercise 2.38
Complete exercise 2.39
Complete exercise 2.40