Write a Ruby program that extracts unique four-letter sequences from words in a dictionary file.
- The program must generate two output files:
sequences.txt
: Contains four-letter sequences that appear in exactly one word.words.txt
: Lists the corresponding word for each sequence, in the same order.
- Sequences are case-insensitive.