Python Set Recursion Limit In Python A Function