Update cachematrix.R

Implement makeCacheMatrix() and cacheSolve().