Adding Homework 9 exercises.