Sudoku validator with swift