Four lots of 100,000 iterations.
about 1 second for the lot.
think i have it correct now.
find it an interesting exercise, but not sure as to its value for my stuff(will do some tests though)
whoops just realised it was set for 10,000, but process the same.
That output looks like you're doing the correct thing.
And it helps to answer your and Bascoe's question about how many iterations are needed.
Look at the 97 Rater in the 1st lot.
It's 5th Ranked, so it's reassuring that it's shown most likely to finish 5th.
But you would then expect the frequencies to drop monotonically.
And your data shows drop, rise
, drop for 6,7,8.
That rise is an anomaly.
Such anomalies are easy for a program to spot and tally.
Your program could count the anomalies, and if it reported "too many " you could increase the iterations until they come down below "too many".