completed

Updated cacheMatrix.R with necessary code