CS 302 Assignment 7