|The program should write a rectangular
crossword to the output file PROG14.OUT. Each word must be connected to
two other words in such a way as to form a rectangular region as shown
in the example below. All words must read either top to bottom or left
to right. They may be arranged and connected in any order, as long as the
output forms a rectangle in the center. Diagonal words are not permitted.
If the program is unable to find a solution
to the input, it should write the message NO SOLUTION FOUND.