Factored out SudokuSolver.
Better styling, removed incorrect copyright.