The use of computers for teaching simulation