Implemented makeCacheMatrix and cacheSolve functions in cachematrix.R