Lua homework