Game of Life in Lua, with spec