Add test support for Lua.
Solve problems 1-3,6,15,28 using Lua.