Added generic linked list implementation.