resolves sudoku from file or console