added classes for solving sudoku puzzle