Solve problem 41 using Lua.
Remove unnecessary code in Go's problem 41.