graphList now works. LinkedList has got problems on destructor.