week 2 homework for Nathan