Solutions to the ch.9

I have started solving the ch.9 problems.