CSC202 assignment 1