Fix Listing 7.9 to reflect proper breaking.

Breaking inside switch statement breaks the switch, not the outer loop.