Modified cachematrix.R: Added implementation for cacheSolve

Added implementation for cacheSolve