Lexical scoping programming assignment done