Sudoku solution in Swift