Fix errors in set algorithms

Fix all the kernels so that they work with very low number
of elements in the two sets
Add benchmarks for set algorithms
Merge pull request #152 from roshanr95/set_algorithms

Set algorithms