def render(self):
    width = 16
    rows = 16
    colorPrefs = self.program.color
    for i in range(width):
        for k in range(rows):
            self.addStr(k, (i * 5), (' %3d ' % ((i + (k * width)),)), colorPrefs.get((i + (k * width))))
def render(self):
    width = 16
    rows = 16
    colorPrefs = self.program.color
    for i in range(width):
        for k in range(rows):
            self.addStr(k, (i * 5), (' %3d ' % ((i + (k * width)),)), colorPrefs.get((i + (k * width))))