@Override public void step(MessageLogger logger){
  try {
    addAgent();
    env.step();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

@ Override public void step ( MessageLogger logger ) { try { addAgent ( ) ; env . step ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
executes one simulation step .
