cs494 homework 3 finished