Simple wrapper for linked list (for C)