buckets = [0] * 100
size_x = 9 size_y = 9 list_2d = [] for a in range(size_y): list_2d.append([]) for _ in range(size_x): list_2d[a].append(0)