simple sudoku solver written in swift