Updated INPUT cacheSolve