assignment 1 for cs2010