COGS109_SS1_HW1_solution.pdf