WordLists
Write a class in Java called WordLists that generates useful word lists for scrabble players using this list.
Your class should contain the following methods:
• WordLists(String fileName): a constructor that takes the name of the dictionary file as the only parameter.
• lengthN(int n): returns an array of words of length n.
• startsWith(int n, char firstLetter): returns an array of words of length n beginning with the letter firstLetter
• containsLetter(int n, char included): returns an array of words of length n containing the letter included but not beginning with it.
• vowelHeavy(int n, int m): returns an array of words of length n containing at least m vowels.
• multiLetter(int m, char included): returns an array of words with at least m occurrences of the letter included.
Write a test class for your WordLists class that tries these methods out and writes the word lists (the arrays of strings) to text files