Simple sudoku solver in Swift