submitting modified cachematrix.R file, changes made to makeCacheMatrix and cacheSolve functions.