changed node class to take any object instead of just integers (and
updated other code to work with it)
Changed linked list implementation to use generics (and updated all
implementations of it).