Update LinkedList.h

Bug fixed, memory leak fixed, Pass all Test