cs320 homework