list class

task:

http://pages.cs.wisc.edu/~hasti/cs368/JavaTutorial/PROGRAMS/Program1.html