added the linked list boiler plate code