You will create a list of 4-letter codes using the 26 letters in theEnglish alphabet. The list should not include any code that can beobtained by reversing the order of 2, 3 or 4 adjoining letters ofanother code in the list.
For example, if the list includes ABGG, then it can't include codes BAGG, AGBG, GBAG, AGGB and GGBA.