edited makeCacheMatrix and cacheSolve functions