n=-1 z=0 d=0 show() = { print (n++ " " real(z)); } forward() = { z+=I^d; show(); } r5dragon(it) = { if (it, r5dragon(it-1), forward()); d++; if (it, r5dragon(it-1), forward()); d++; if (it, r5dragon(it-1), forward()); d--; if (it, r5dragon(it-1), forward()); d--; if (it, r5dragon(it-1), forward()); } show(); r5dragon(4); quit