Simulation as a Teaching Tool