The following text was written to the standard output stream when the WordList.html 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 the list (FIRST;LAST) EXIT - terminate execution of the program >>> display cool I like food and other things like chicken and even more chicken >>> print 5 and >>> swap 2 7 >>> display cool things like food and other I like chicken and even more chicken >>> add first vbfhibfhv >>> display vbfhibfhv cool things like food and other I like chicken and even more chicken >>> exit