Add scripts to illustrate global/dynamic scoping

The assignments are always made in global in a shell,
but dynamic scoping applies to subshells.