added body of makeCacheMatrix function