COMP 397 Assignment 2