Comp261 Assignment 1