finish Lua program chapter 1