Exercise to understand scope
LCTHW exercise 8.