cacheSolve implemented.