Update cachematrix.R

Implement makeCacheMatrix and cacheSolve functions