ported to Lua 5.2
added gitignore