Code related to linked list programs