1. a = {}
    2. for i=1,10 do
    3. a[i] = function () y=y+1; return x+y end