Update LinkedList.h

Some defects in add function