The following text was written to the standard output stream when the WordList program was executed from IntelliJ.
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=46455:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/kedward8/IdeaProjects/CS1/out/production/CS1:/home/kedward8/Documents/SimplePainter.jar:/home/kedward8/Documents/SimpleComposer.jar:/home/kedward8/Documents/jfugue-4.0.3-with-musicxml.jar arraylistplay.WordList The original list of words ... flower eat food chicken leaf bowl rice fries chair computer >>> PRINT 1 flower >>> SWAP 1 2 >>> ADD FIRST buffalo >>> DISPLAY buffalo eat flower food chicken leaf bowl rice fries chair computer >>> 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 >>> EXIT Process finished with exit code 0