COMP 310 Assignment 1