Implementation for the paper "Bayesian inference on random simple graphs with power-law degree distributions"