Linked queue implemented