read sudoku problem & init matrix