adding list and queue data structures