First version of trampoline for Python: tail-recursion only.