in reply to

Great work.

By the way, the program that inspired you was written by Brian Westley in 1987. It was the winner of the "Best Layout" award in the first International Obfuscated C Code Contest. Brian Westley has won seven times since then also.

Westley's program is worth a close look, because there's more going on there than meets the eye.

IOCCC Web Site for more complete details.