Assignment 1 for CS2010