updated linked list, queue, and stack