Simple linked list implementation