Set Maximum Recursion Depth In Python