CSCI 406 Homework 8