Created lexical scoping illustration functions.