Stack, queue, and list data structures homework.