CS481 Assignment 6