Update cachematrix.R

Verified functional code for makeCacheMatrix and cacheSolve