Compsci 335 Assignment 2