implementing crossword solver from the same UI