def search(self, needle):
    '\n        Returns list of cells [cid,rid] that contain the needle.\n            r=td.search(needle) # (1,1)\n        \n        \n        tuples, lists? I am not quite sure!    \n        '
    results = []
    for rid in range(0, self.nrows()):
        for cid in range(0, self.ncols()):
            cell = self.cell(cid, rid)
            if (str(needle) in str(cell)):
                results.append((cid, rid))
    return results
Returns list of cells [cid,rid] that contain the needle.
    r=td.search(needle) # (1,1)


tuples, lists? I am not quite sure!
def search(self, needle):
    '\n        Returns list of cells [cid,rid] that contain the needle.\n            r=td.search(needle) # (1,1)\n        \n        \n        tuples, lists? I am not quite sure!    \n        '
    results = []
    for rid in range(0, self.nrows()):
        for cid in range(0, self.ncols()):
            cell = self.cell(cid, rid)
            if (str(needle) in str(cell)):
                results.append((cid, rid))
    return results