Sudoku using Java graph algorithms backend