added queue and an alternate linked list