completed makeCacheMatrix and cacheSolve functions