Added casts to the to_string calls
added the #included LinkedList.h