COMP9321 - Assignment 2