extract to class file

generate class called Sudoku