NumberList demo

The following text was written to the standard output stream when the NumberList 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 numbers
PRINT - print a number (FIRST;LAST;nth)
SWAP - exchange two elements (nth;mth)
ADD - add a number to the list (FIRST;LAST)
EXIT - terminate execution of the program
>>> display
5
10
15
1
4
5
9
3
6
2
18
13
17
>>> print first
5
>>> print last
17
>>> print 3
15
>>> add first 50
>>> add last 40
>>> display
50
5
10
15
1
4
5
9
3
6
2
18
13
17
40
>>> swap 1 4
>>> display
15
5
10
50
1
4
5
9
3
6
2
18
13
17
40
>>> flip
### Unrecognizable command: flip
>>> exit