First solution in Lua
This is the version of Lua you need