The detector simulation program for the OPAL experiment at LEP