Added exercises 9 through 10