This AI simple moves the characters towards the opposite
        edges of the grid for 3 steps or until event halts the 
        simulation

def run(self):
        """
        This AI simple moves the characters towards the opposite
        edges of the grid for 3 steps or until event halts the 
        simulation
        """
        x, y = 1,0  # set the direction
        num_steps = 0
        while self.s.get_state() != 'Halted':
            self.s.command({'name':'walk', 'type':'move', 'direction':[x, y]}, self.a1)
            self.s.command({'name':'walk', 'type':'run', 'direction':[x, y+1]}, self.a2)
            num_steps += 1
            if num_steps >= 3:
                break
        for a in self.s.agents:
            print(a.name, 'finished at position ', a.coords['x'], a.coords['y'])