Used built in lists instead

http://www.yolinux.com/TUTORIALS/LinuxTutorialC++STL.html#LIST
This link has good examples.