blocks
by hollasch
Runnable form of Duff's Device, written for clarity.