Sudoku solver (python)