Start of chapter 8 homework. Not complete.