coded makeCacheMatrix and cacheSolve