Added CharacterQueue class.