added linked list class