Added an algorithm to return all subsets of a set