Refactor Sudoku class. Split it into the pieces. It should made common strucrure better and more flexible.