Some what working code

This code somewhat works, There are still a number of bugs that I am
trying to work out. and there is a lot that needs to be added.
Removed the listNode class because its not needed