Complete cacheSolve.