refactored TagSet to use move-to-front with singly linked list