How To Find Subsets In Python