completed code for makeCacheMatrix and cacheSolve