Solves sudoku