completed exercise 9-2
completed exercise 9-3
completed exercise 9-4