Simple linked list implementation.