Solution for sudoku