def run(self, steps=10):
        """Executes up to `steps` instructions."""
        try:
            super(GeneticMachine, self).run(steps)
            self._error = False
        except StopIteration:
            self._error = False
        except Exception:
            self._error = True