added functions makeCacheMatrix and cacheSolve