Coursera course "R Programming" - Programming Assignment 2: Lexical Scoping