Added generic type parameter to base LinkedList

I adjusted the LinkedList class so that it can function on its own with
other types of objects. I now know one use of Generics in classes and
can absolutely see the uses!