Sudoku solver in ActionScript 3