implemented makeCacheMatrix and cacheSolve in cachematrix.R