better version of cacheSolver with useful doc string and call to solve function, rather than mean function