Generate blocks

So it can keep going indefinitely.

Has a few bugs.  But mostly works.