Rust Closure Recursion In Python Problems