I wrote a code which will generate the feynman diagram for two loop two point function for Phi4 Theory, But code became too long as I was trying to make all possible connection, I tried to make to small but I'm unable to do so. here I'm attaching my code. I don't know how to attach the code so I 'm sharing the file here
https://feyncalc.github.io/
Actually, I wanted to do without Feyncalc