n=-1 z=0 move(dz) = { z+=dz; print (n++ " " imag(z)); } iter(d) = { if (d==0, move(1), d--; iter(d); for (k=1, 2^d, move(I-1)); iter(d); for (k=1, 2*2^d, move(-I)); iter(d); for (k=1, 2^d, move(I-1)); iter(d); ); } move(0) iter(6) quit