solution generate for Sudoku like puzzle