code: def _add_step(self, pos):
          
          self._steps.append(pos)
          self._rec_x = pos[0]
          self._rec_y = pos[1]
docs: Add a step to the end of the current recorded path.
  
          :param pos: The position tuple (x, y) to add to the list.