Euler Problem solving with Lua