Implementation of sudoku.java