code: def run_simulation(self):
          
          print('Starting simulations...')
          for i in range(self.num_trials):
              print('---Trial {}---'.format(i))
              self.run_trial(i)
          print('Simulation completed.')
docs: Runs the complete simulation