Funkcja Ackermann lua

local function Ackermann(m, n)
    if m == 0 then
        return (n + 1)
    elseif n == 0 then
        Ackermann(m - 1, 1)
    else
        Ackermann(m - 1, Ackermann(m, n - 1))
    end
end
Troubled Termite