Recursion In Python Stack Data