Added R code for makeCacheMatrix and solveCache functions.