The Square Spiral: The Mathematics of Markets