The following text was written to the standard output stream when the WordListDemo program was executed from IntelliJ.
>>> help HELP - display a menu of commands DISPLAY - display the list of words PRINT - print a word (FIRST;LAST;nth) SWAP - exchange two elements (nth;mth) ADD - add a word to the list (FIRST;LAST) EXIT - terminate execution of the program >>> display I Will Change the World One Day at a Time Trust me >>> add first Lloyd >>> print first Lloyd >>> add last Petion >>> print last Petion >>> Display Lloyd I Will Change the World One Day at a Time Trust me Petion >>> swap 5 9 >>> display Lloyd I Will Change at World One Day the a Time Trust me Petion >>> exit