COMP 7081 Assignment 2