<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def wait(self, delay):
 """ Wait at the current location for the specified number of iterations. :param delay: The time to wait (in animation frames). """

        for _ in range(0, delay):
            self._add_step((self._rec_x, self._rec_y))