WordList demo

The following text was written to the standard output stream when the WordList program was executed from IntelliJ.

"C:\Program Files\Java\jdk-11.0.8\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.1\lib\idea_rt.jar=55107:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\Kenyo\IdeaProjects\CS1\out\production\CS1;C:\Users\Kenyo\Downloads\CSC 212\SimplePainter.jar;C:\Users\Kenyo\Downloads\CSC 212\SimpleComposer.jar;C:\Users\Kenyo\Downloads\CSC 212\JFuge.jar" arrayListPlay.WordList
>>> 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
fresh
thigh
robot
error
ghost
directory
knowledge
designer
consumption
line
exchange
housewife
manufacture
>>> print first
fresh
>>> print last
manufacture
>>> print 4
error
>>> print 5
ghost
>>> add first hello
>>> add last bye
>>> display
hello
fresh
thigh
robot
error
ghost
directory
knowledge
designer
consumption
line
exchange
housewife
manufacture
 bye
>>> swap 2 9
>>> display
 hello
designer
thigh
robot
error
ghost
directory
knowledge
fresh
consumption
line
exchange
housewife
manufacture
bye
>>> delete
### Unrecognizable command: delete
>>> exit