Sudoku solver object oriented