As I recall, I put this together in about a week or two in 2002 to put on another web site. That one never actually happened but it seems like a waste to not use it somewhere. I'd like to have a reason to tidy this up and expand on it some day. Needless to say, this is more likely to happen if anyone shows any interest. No-one has so far.
It uses text input and output, so it should compile easily for any C++ compiler on Microsoft Windows, Linux, UNIX, etc.