cs267 homework 1