def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def dfs(self,candidates,target,start,reslist):
        length = len(candidates)
        if target == 0: 
            return self.result.append(reslist)