answer to week 4 assignment