2nd homework assignment from class