cs690 hmwk2