1. Use a TreeMap to sort the Words that are to be displayed, as usual, in the right column of the GridLayout. All the code you need is in the PowerPoint on TreeMaps. You will need to create a Comparator for the class Word.
2. Use a Regular Expression to verify that the passed to the constructor of a Word is three letters.
The format of the input file will be the same as Project 1.