filled in code for makeCacheMatrix and cacheSolve