Java application to solve sudoku