Tag - linked list in c code