Added search functionality to linked list