Tri Recursion In Python Example