Sudoku/Python Restore python 3 compatibility. No speed change in cpython 2 or pypy.