sudoku solver written in python 2