Added example usage of TypeSet::remove
Fixed TypeSet<T>'s appendElement and prependElement