algorithm pseudocode tagslist