add demo for function closure
add information about scope of variables