There are some simple set operations implemented in c plus plus codes