small tweak to week 7 examples
update to the exercise code