CSCI 331 Assignment 2