added cacheMatrix and cacheSolve