<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def simulate(self, steps=None):
 """ Advance simulation n steps """

        if steps is None:
            steps = self.steps
        self.simulation.step(steps)