4.2 BSD provides a much better random number generator in random(3). This should solve your problems. -- Ken Arnold ================================================================= Of COURSE we can implement your algorithm. We've got this Turing machine emulator...