Basic linked list utility.