COMP329 Assignment 1