How Recursive Function Works In Python