Chapter 7 complete

You've grasped the point of the exercises here, but stylistically it's nice to declare a variable in the foreach and explicitly use that rather than implicitly (and explicitly) depending on `$_`