linked list representation of queue