Algorithms for the implementation and evaluation of Monte Carlo tests, as well as for their use in multiple testing procedures.