Add output of the donuts sequence result

This output takes a long time to fix, for the two-dimension array should
be stored first and then output, otherwise random sequence could not
backward, so cannot print out as it generates.