Nested Recursion In Python Meaning