compsci 373 assignment 1