LuaPS Algorithm implementation with Lua io.write("Hello, World!") Enhancing Lua's utility without performance dropping os.exit()