header file for linked list functions