compsci 335 assignment 1