Update cachematrix.R

Implemented makeCacheMatrix and cacheSolve functions