Added solution to chapter 9 exercise 9.3