for x = 1, 3 do for y = 1, 3 do print("(" .. x .. ", " .. y .. ")") end end