Add Example and sudo code for cacheSolve