first versions of makeCacheMatrix and cacheSolve