Calculate Sudoku problem with Java UI