Sudoku solver in Lua