This includes code for expectation maximization with belief propagation for the stochastic block model.