Text this: A chip-firing variation and a new proof of Cayley's formula