generic linked list working now