Modified the Sudoku solver code to handle any n*n board, not just 9*9. There is one last hard-coded constant, but that can be fixed later.