sudoku for js and php