Self-Adjusting Grid Networks