code: def set_i(self, i, data, field, side):
          
          edge = self.get_i(i, side)
          setattr(edge, field, data[edge.slice])
docs: Assigns data on the i'th tile to the data 'field' of the 'side'
          edge of that tile