The Mathematics of Perfect Pizza