Added proper class for linked list.