Update linkedlist.h

Now the type does not require the type nor knowing the type.