R Programming Course Assignment 2, Lexical Scoping