Update cachematrix.R

Implementation for makeCacheMatrix and cacheSolve