cs 585 homework