writing a sudoku brute force solver