Text this: The physics of chance