Reconstruction of a real world social network using the potts model and loopy belief propagation