def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def combinationSum(self, candidates, target):
        candidates.sort()
        self.result = []
        self.dfs(candidates,target,0,[])
        return self.result