Library for multiple types of linked lists in c