This is the solution for Programming Assignment 2, creation of 2 functions to implement a cache feature with R lexical scope.