Programming in Lua Sample Code