week 3 homework solution