Linked list with Queue