Assignment 1 for CS 240H.