The Mathematics of towns and cities - TED Lecture