While the daily ebb and flow of people across a city might seem chaotic, new research reveals underlying universal patterns.