Extremely simple sudoku solver in Java