Assignment 1 for CS314H