Chapter 9 exercises

Signed-off-by: Liz <grubbycodemonkey@gmail.com>